<template>
	<view>
		<u-tabbar v-model="current" :list="list" :mid-button="false" :hide-tab-bar="false"></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						iconPath: "question-circle",
						selectedIconPath: "question-circle-fill",
						text: '代办',
						customIcon: false,
						pagePath: "/pages/home/index"
					},
					{
						iconPath: "clock",
						selectedIconPath: "clock-fill",
						text: '任务',
						customIcon: false,
						pagePath: "/pages/task/index"
					},
					{
						iconPath: "file-text",
						selectedIconPath: "file-text-fill",
						text: '工单',
						customIcon: false,
						pagePath: "/pages/work/index"
					},
					{
						iconPath: "account",
						selectedIconPath: "account-fill",
						text: '个人中心',
						customIcon: false,
						pagePath: "/pages/info/index"
					}
				],
				current: 0
			}
		},
	}
</script>